import request from '@/utils/request'

//​ 统计新客变化趋势
export function getAddUser (query) {
  return request({
    url: '/statistics/purchaser/increase/trends',
    method: 'get',
    params: query
  })
}
// 统计订单量趋势
export function getOrderNumber (query) {
  return request({
    url: '/statistics/order/number/trends',
    method: 'get',
    params: query
  })
}
// 统计订单金额趋势
export function getOrderPriceNumber (query) {
  return request({
    url: '/statistics/order/flow/trends',
    method: 'get',
    params: query
  })
}
// 统计区域订单量
export function getRegionalDistribution (query) {
  return request({
    url: '/statistics/order/regional/distribution',
    method: 'get',
    params: query
  })
}
